Companion
Functions
Adds another test, and potentially another error, to a Validation.
Reports errors in this validation to an error consumer.
Maps this validation to a new type using a mapping function
Creates a new ErrorEntry.Mutable instance for filling with error context
Create a validation result with this if there was a problem during validation.
Maps this validation to a new type using a mapping function
Converts a DataResult into a ValidationResult with no fallback
Converts a DataResult into a ValidationResult
Create a validation result with a built error context stored in a ErrorEntry.Mutable
Maps this validation's stored value to a new type using a mapping function
Convenience shortcut for creating a success or error depending on a boolean state.
reports error, if any, to a provided reporter (such as a logger)
reports error, if any, to a provided string list
Reports errors in this validation to an error consumer.
Creates a new ValidationResult of type T wrapping the new value with the error(if any) from the receiver ValidationResult (of any type, does not need to match T)